Component({
    properties: {
        datas: {
            type: null
        }
    },
    data: {},
    lifetimes: {
        attached: function() {
            console.log(this.properties.datas);
        },
        moved: function() {},
        detached: function() {}
    },
    attached: function() {},
    ready: function() {},
    pageLifetimes: {
        show: function() {},
        hide: function() {},
        resize: function() {}
    },
    methods: {
        taplink: function(t) {
            var e = t.currentTarget.dataset.item;
            2 == e.type ? wx.navigateTo({
                url: "/packageF/cps/search/search?cate_id=" + e.cate_id
            }) : 4 == e.type ? wx.navigateTo({
                url: "/packageF/cps/search/search?title=" + e.url
            }) : wx.navigateTo({
                url: e.mini_url
            });
        }
    }
});